<h2>Should mankind colonize the Universe?</h2>
<h3>Agree: {{agreed}}, Disagree: {{disagreed}}</h3>
<app-voter *ngFor="let voter of voters" [name]="voter" (voted)="onVoted($event)">
</app-voter>


<!-- 有了本地变量，不能用ngFor -->
<!-- <h3>{{appVoter.var1}}</h3>
<app-voter #appVoter [name]="voter" (voted)="onVoted($event)">
</app-voter> -->

<div>{{childrenVar2}}</div>